/* Solarized风格的Markdown主题 */
.markdown-body.solarized {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #657b83;
  background-color: #fdf6e3;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.markdown-body.solarized h1,
.markdown-body.solarized h2,
.markdown-body.solarized h3,
.markdown-body.solarized h4,
.markdown-body.solarized h5,
.markdown-body.solarized h6 {
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 1em;
  color: #b58900;
}

.markdown-body.solarized h1 {
  font-size: 2em;
  line-height: 1.2;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #eee8d5;
}

.markdown-body.solarized h2 {
  font-size: 1.5em;
  line-height: 1.225;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #eee8d5;
}

.markdown-body.solarized h3 {
  font-size: 1.25em;
}

.markdown-body.solarized h4 {
  font-size: 1em;
}

.markdown-body.solarized p {
  margin-bottom: 1.2em;
  font-size: 1em;
}

.markdown-body.solarized a {
  color: #268bd2;
  text-decoration: none;
}

.markdown-body.solarized a:hover {
  text-decoration: underline;
}

.markdown-body.solarized blockquote {
  margin: 1em 0;
  padding: 0 1em;
  color: #93a1a1;
  border-left: 4px solid #eee8d5;
}

.markdown-body.solarized code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background-color: #eee8d5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
  color: #d33682;
}

.markdown-body.solarized pre {
  background-color: #eee8d5;
  padding: 16px;
  border-radius: 3px;
  overflow-x: auto;
  margin: 1.2em 0;
}

.markdown-body.solarized pre code {
  background-color: transparent;
  padding: 0;
  color: #657b83;
}

.markdown-body.solarized img {
  max-width: 100%;
  margin: 1.2em auto;
  display: block;
}

.markdown-body.solarized hr {
  border: none;
  border-top: 1px solid #eee8d5;
  margin: 2em 0;
}

.markdown-body.solarized ul,
.markdown-body.solarized ol {
  margin-bottom: 1.2em;
  padding-left: 2em;
}

.markdown-body.solarized li {
  margin-bottom: 0.5em;
}

.markdown-body.solarized table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2em 0;
  border: 1px solid #eee8d5;
}

.markdown-body.solarized table th,
.markdown-body.solarized table td {
  border: 1px solid #eee8d5;
  padding: 8px 12px;
  text-align: left;
}

.markdown-body.solarized table th {
  background-color: #eee8d5;
  font-weight: 600;
  color: #586e75;
}

.markdown-body.solarized table tr:nth-child(even) {
  background-color: #eee8d5;
}

/* Solarized特有的样式 */
.markdown-body.solarized strong {
  font-weight: 600;
  color: #586e75;
}

.markdown-body.solarized em {
  font-style: italic;
  color: #839496;
}

/* Solarized暗色模式 */
.markdown-body.solarized.dark {
  color: #839496;
  background-color: #002b36;
}

.markdown-body.solarized.dark h1,
.markdown-body.solarized.dark h2,
.markdown-body.solarized.dark h3,
.markdown-body.solarized.dark h4,
.markdown-body.solarized.dark h5,
.markdown-body.solarized.dark h6 {
  color: #b58900;
}

.markdown-body.solarized.dark h1,
.markdown-body.solarized.dark h2 {
  border-bottom: 1px solid #073642;
}

.markdown-body.solarized.dark blockquote {
  border-left: 4px solid #073642;
}

.markdown-body.solarized.dark code {
  background-color: #073642;
}

.markdown-body.solarized.dark pre {
  background-color: #073642;
}

.markdown-body.solarized.dark hr {
  border-top: 1px solid #073642;
}

.markdown-body.solarized.dark table th,
.markdown-body.solarized.dark table td {
  border: 1px solid #073642;
}

.markdown-body.solarized.dark table th {
  background-color: #073642;
} 